package mylab.usm.api.service;

import mylab.usm.api.model.account.User;

import java.util.Map;

public interface UserService {

    User getById(String userId);

    User getByUsername(String username);

    boolean validPassword(String userId, String password);

    User getByPlatformAndUid(String platformId, String uid);

    User createByPlatform(String platformId, Map<String, Object> userInfo);
}
